package com.xiao.mall.client.message.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "UserNotificationDto", description = "用户消息Dto")
public class UserNotificationDto implements Serializable {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("已读")
    private boolean hasRead;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("消息内容id")
    private Long notificationId;

    @ApiModelProperty("消息标题")
    private String title;

    @ApiModelProperty("消息内容")
    private String content;
}
